#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <QtQml>
#include <QQuickView>

#include <iostream>
#include <vector>
#include "c2048.h"

int main(int argc, char *argv[]) {
    QGuiApplication app(argc, argv);

    qmlRegisterType<C2048>("C2048", 1, 0, "C2048");

    QQuickView view;
    view.setSource(QUrl(QStringLiteral("qrc:/resource/main.qml")));
    view.show();

    return app.exec();
}

